public class Test {
    public static void main(String[] args) {
        Student stu=new Student();
        stu.setAge(18);
        stu.setName("小明");
        stu.eat();
        stu.sleep();//调用setAge(),setName()对Age和Name进行访问，修改
        stu.show();

    }
}
